package com.explorati.design_pattern.comparson.behavior.strategy;

//Gzip压缩算法
public class Gzip implements Algorithm {

	@Override
	public boolean compress(String source, String to) {
		System.out.println(source + "-->" + to + "Gzip压缩成功！");
		return true;
	}

	@Override
	public boolean uncompress(String source, String to) {
		System.out.println(source + "-->" + to + "Gzip解压缩算法成功!");
		return true;
	}

}